package com.astar.dto.result;


import com.astar.enums.ReturnCodeEnum;

import java.io.Serializable;

public abstract class AbstractResult implements Serializable {

    private String msg = ReturnCodeEnum.CODE_0000.getMsg();

    /**
     * 默认成功
     */
    private String code = ReturnCodeEnum.CODE_0000.getCode();


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}